﻿<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title>@ViewBag.Title</title>
	<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
	<script src="@Url.Content("~/Scripts/head.load.min.js")" type="text/javascript"></script>
    <script type="text/javascript">
    	    var _gaq = _gaq || [];
    	    _gaq.push(['_setAccount', 'UA-24682730-1']);
    	    _gaq.push(['_trackPageview']);
    	    (function () {
    	        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    	        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    	        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    	    })();
	</script>
</head>
<body>
	<div class="page">
		<header>
			<div id="title">
				<h1>PagerHelper for ASP.NET MVC3 Samples</h1>
			</div>
			<div id="logindisplay">
				@*@Html.Partial("_LogOnPartial")*@
				by <a href="mailto:ing.juanpablo@gmail.com">Juan Pablo Ibañez</a>
			</div>
			<nav>
				<ul id="menu">
					<li>@Html.ActionLink("Pager", "IndexNoJs", "Product")</li>
					<li>@Html.ActionLink("Pager With Unobstructive JS Enhancement", "Index", "Product")</li>
				</ul>
			</nav>
		</header>
		<section id="main">
			<div class="colmask leftmenu">
				<div class="colleft">
					<div class="col1">
						@RenderBody()
					</div>
					<div class="col2">
						@Html.Partial("_AboutMe")  
					</div>
				</div>
			</div>
		</section>
		<footer>
		</footer>
	</div>

	@if (ViewBag.EnhancePage != null && ViewBag.EnhancePage)
	{
		<script type="text/javascript">
			head.js("@Url.Content("~/Scripts/jquery-1.5.1.min.js")", "@Url.Content("~/Scripts/Pager.js")");
		</script>          
	}
	else
	{
		<script type="text/javascript">
			head.js("@Url.Content("~/Scripts/jquery-1.5.1.min.js")");
		</script> 
	}

	<script type="text/javascript">
		head.js("@Url.Content("~/Scripts/modernizr-1.7.min.js")")
			.js("http://platform.twitter.com/widgets.js")
			.js("http://apis.google.com/js/plusone.js");
	</script>
</body>
</html>
